const { resolve } = require('path')
module.exports = {
  'db': 'mongodb://localhost/movie-chat',
  'server': {
    HOST: 'localhost',
    PORT: 3006,
    apiPreFix: '/api/v0',
    fileSavePath: resolve(__dirname, '../', 'resources/upload'),
    SIGN_KEY: 'meishuchun'
  },
  // 七牛配置
  'qiniu': {
    'bucket': 'movie-chat',
    'baseUrl': 'http://p5icauknh.bkt.clouddn.com/',
    'AK': 't7_qHQ0hDd4XYLISmC5lyf0xyhQqylmipAFB3Qxm',
    'SK': '2tfy3CZKct0EEdZr-i9peg4WlIGtSj8b3Goip-48'
  },
  // 图灵机器人设置
  'tuRing': {
    api: 'http://openapi.tuling123.com/openapi/api',
    apiKey: 'e4bb1e124f6d4bec8cf42a236fb67920'
  },
  // 腾讯AI开放平台
  'tencentOpenAI': {
    AppID: '2107721201',
    AppKey: 'ji9OovQHCjOPGvUk'
  },
  // 默认用户
  'userDefault': {
    nickname: 'MSC',
    password: '123454321',
    email: '956164483@qq.com'
  },
  // 邮件设置
  'mailer': {
    user: '785860655',
    pass: 'ibzddupqmyfcbeii',
    from: '785860655@qq.com' // 发送者
    // user: '956164483',
    // pass: 'hbswgttheyuqbefc'
  }
}